package com.celesea.workflow.demo.service;

import com.celesea.framework.service.BaseService;
import com.celesea.framework.util.Page;
import com.celesea.framework.util.PageData;
import com.celesea.framework.util.Sort;
import com.celesea.workflow.demo.entity.Demo;
import com.celesea.workflow.demo.vo.DemoFilter;
import com.celesea.workflow.demo.vo.DemoVo;

/**
 * @author JackYuan
 * @create 2017-11-18 15:39
 */
public interface DemoService extends BaseService<Demo> {

    PageData<DemoVo> selectPage(DemoFilter filter, Page page, Sort sort);

    DemoVo selectById(String id);

    DemoVo insert(DemoVo entity);

    DemoVo update(DemoVo entity);
}
